package com.itheima.tlias84.service;

import com.itheima.tlias84.controller.po.InsertClazzParam;
import com.itheima.tlias84.controller.po.SelectClazzPageParam;
import com.itheima.tlias84.dao.entity.Clazz;
import com.itheima.tlias84.service.dto.SelectClazzDTO;
import com.itheima.tlias84.utils.ResultUtil;

import java.util.List;

public interface ClazzService {

    List<Clazz> selectAll();

    ResultUtil selectPage(SelectClazzPageParam param);

    SelectClazzDTO selectById(Integer id);

    int insertClazz(InsertClazzParam param);

    int deleteClazz(Integer id);

    int updateClazzById(InsertClazzParam param);
}
